package com.tj.collection.db.admin.dao.mp;

import com.tj.collection.common.old.BaseMapper;
import com.tj.collection.db.admin.entity.AuthAdminProductEntity;
import com.tj.collection.db.admin.entity.AuthAdminProductEntityConditions;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface AuthAdminProductEntityMapper extends BaseMapper<AuthAdminProductEntity, Long, AuthAdminProductEntityConditions> {
    int countByExample(AuthAdminProductEntityConditions example);

    int deleteByExample(AuthAdminProductEntityConditions example);

    int deleteByPrimaryKey(Long id);

    int insert(AuthAdminProductEntity record);

    int insertSelective(AuthAdminProductEntity record);

    List<AuthAdminProductEntity> selectByExample(AuthAdminProductEntityConditions example);

    AuthAdminProductEntity selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") AuthAdminProductEntity record, @Param("example") AuthAdminProductEntityConditions example);

    int updateByExample(@Param("record") AuthAdminProductEntity record, @Param("example") AuthAdminProductEntityConditions example);

    int updateByPrimaryKeySelective(AuthAdminProductEntity record);

    int updateByPrimaryKey(AuthAdminProductEntity record);
}